{$CLEO .CS}

//-------------MAIN---------------
0000: NOP 

:NONAME_2
wait 0 
//0A95: enable_thread_saving

if and 
   Player.Defined($PLAYER_CHAR)
   $ONMISSION == 0
jf @NONAME_2
jump @noname_3

:noname_3
wait 0
if or
//00DF:   actor $PLAYER_ACTOR driving
//09AE:   actor $PLAYER_ACTOR driving_train
//04C8:   actor $PLAYER_ACTOR driving_flying_vehicle
//80DF:   not actor $PLAYER_ACTOR driving
00ED:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0 on_foot
00EE:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0 in_car
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 0.0 0.0 0.0 radius 3000.0 3000.0 3000.0
0100:   actor $PLAYER_ACTOR in_sphere 0.0 0.0 0.0 radius 3000.0 3000.0 3000.0 sphere 1 in_car
00EC:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0
//jump @zones
jf @noname_3
//:zones
//wait 0
//if or
//0154:   actor $PLAYER_ACTOR in_zone 'LA'  // LS
//0583:   player $PLAYER_CHAR in_zone 'LA'  
//0154:   actor $PLAYER_ACTOR in_zone 'PALO'  // LS
//0583:   player $PLAYER_CHAR in_zone 'PALO'
//0154:   actor $PLAYER_ACTOR in_zone 'VE'  // LS
//0583:   player $PLAYER_CHAR in_zone 'VE' 
//jf @zones
jump @models

:models
wait 0
   //$ONMISSION == 0
//jf @NONAME_2 
Model.Load(#FREIGHT)
Model.Load(#FREIFLAT)
Model.Load(#FREIBOX)
Model.Load(#STREAK)
Model.Load(#STREAKC)
Model.Load(#TRAM)
//Model.Load(662)
//Model.Load(663)
038B: load_requested_models 
wait 0 
jump @NONAME_79 

:NONAME_79
wait 0 
//06D8: 1@ = create_train_at 1709.22 -2827.91 276.19 type 0 direction 0 
//1665.7228 -2832.0869 85.5328 2 pyt
06D8: 1@ = create_train_at 629.543 -1784.1531 27.9711 type 5 direction 1
0186: 2@ = create_marker_above_car 1@
0165: set_marker 2@ color_to 2
06DC: set_train 1@ acc 10.0 
06DD: set_train 1@ speed 16.0 
//09CF: set_train 1@ stop_at_stations 1
wait 3000 
06DC: set_train 1@ acc 20.0 
06DD: set_train 1@ speed 30.0 
Model.Destroy(#FREIGHT)
Model.Destroy(#FREIFLAT)
Model.Destroy(#FREIBOX)
Model.Destroy(#STREAK)
Model.Destroy(#STREAKC)
Model.Destroy(#TRAM)
jump @platf1



:prov_1
wait 0 
//if or
//0154:   actor $PLAYER_ACTOR in_zone 'LA'  // LS
//0583:   player $PLAYER_CHAR in_zone 'LA' 
//0154:   actor $PLAYER_ACTOR in_zone 'PALO'  // LS
//0583:   player $PLAYER_CHAR in_zone 'PALO' 
//0154:   actor $PLAYER_ACTOR in_zone 'VE'  // LS
//0583:   player $PLAYER_CHAR in_zone 'VE' 
//jf @destr
if or    //stalo ploxo
$ONMISSION == 1
0112:   wasted_or_busted
0118:   actor $PLAYER_ACTOR dead
0981:   train 1@ wrecked
02BF:   car 1@ sunk
01F4:   car 1@ flipped
jf @provnasa
jump @destr

:provnasa
wait 0
if or
00ED:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0 on_foot
00EE:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0 in_car
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 0.0 0.0 0.0 radius 3000.0 3000.0 3000.0
0100:   actor $PLAYER_ACTOR in_sphere 0.0 0.0 0.0 radius 3000.0 3000.0 3000.0 sphere 1 in_car
00EC:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0
jf @destr
jump @platf1


:platf1
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1749.2482 -2729.0205 26.8786 radius 14.0 14.0 14.0      //SANJ1
jf @platf2  
jump @NONAME_926 

:platf2
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1631.9948 -2724.896 26.5777 radius 14.0 14.0 14.0       //sanj2
jf @platf3 
jump @NONAME_926 

:platf3
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 732.5431 -2581.4744 14.9257 radius 14.0 14.0 14.0      // ni1
jf @platf4 
jump @NONAME_926 

:platf4
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 736.3754 -2460.6265 14.47 radius 14.0 14.0 14.0    // ni2
jf @platf5 
jump @NONAME_926 

:platf5
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 629.543 -1784.1531 27.9711 radius 14.0 14.0 14.0    //   long beach1
jf @platf6 
jump @NONAME_926 

:platf6
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 633.7646 -1657.6599 27.8845 radius 14.0 14.0 14.0    //  long beach2
jf @platf7 
jump @NONAME_926 

:platf7
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 748.6293 -1400.6937 27.0664 radius 14.0 14.0 14.0    //  market st1
jf @platf8 
jump @NONAME_926


:platf8
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 853.9043 -1404.7522 27.3784 radius 14.0 14.0 14.0    //  market st2
//1845.1808 -1422.4746 29.8384      GLENPARK GOLOV
//jf @prov_1
jf @platf9
jump @NONAME_926

////////:platf7

:platf9
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1102.7693 -1400.6141 27.474 radius 14.0 14.0 14.0    // centralnaya1
jf @platf10 
jump @NONAME_926

:platf10
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1224.4122 -1404.7434 27.3784 radius 14.0 14.0 14.0    //  centralnaya2
jf @platf11
jump @NONAME_926

:platf11
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1356.8497 -1194.6632 37.5884 radius 14.0 14.0 14.0    //  dt1
jf @platf12 
jump @NONAME_926

:platf12
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1365.6788 -1085.8403 37.7053 radius 14.0 14.0 14.0    //  dt2
jf @platf13
jump @NONAME_926
/////////////////////



:platf13
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2295.5786 62.4357 38.6384 radius 14.0 14.0 14.0      //  palo1
jf @platf14 
jump @NONAME_926 

:platf14
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2291.6174 -71.4987 38.6384 radius 14.0 14.0 14.0    //palo2
jf @platf15 
jump @NONAME_926 

:platf15
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2042.6143 1106.6654 20.5984 radius 14.0 14.0 14.0    //ve1 1
jf @platf16 
jump @NONAME_926 

:platf16
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2046.948 1234.5526 20.8093 radius 14.0 14.0 14.0    // ve1 2
jf @platf17 
jump @NONAME_926 

:platf17
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2126.6482 2044.2987 21.0224 radius 14.0 14.0 14.0    // ve2 1
jf @platf18 
jump @NONAME_926


:platf18
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2122.7493 1911.0425 21.0595 radius 14.0 14.0 14.0    //  ve2 2
//1845.1808 -1422.4746 29.8384      GLENPARK GOLOV
//jf @prov_1
jf @platf19
jump @NONAME_926


:platf19
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1737.3866 1516.4937 20.6984 radius 14.0 14.0 14.0    // ve airport
jf @platf20 
jump @NONAME_926

:platf20
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2209.1938 845.1912 19.2584 radius 14.0 14.0 14.0    // ve pri4al
jf @platf23
jump @NONAME_926

///////////////////////////


:platf23
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2715.4006 1219.6709 19.4155 radius 14.0 14.0 14.0    // linden
jf @prov_1
jump @NONAME_926






///jf @prov_1 
///jump @NONAME_926


 //:prov2
//wait 0
//if or
//$ONMISSION == 1
//0112:   wasted_or_busted
//0118:   actor $PLAYER_ACTOR dead
//0981:   train 1@ wrecked
//02BF:   car 1@ sunk
//01F4:   car 1@ flipped

:NONAME_926 
wait 0
06DC: set_train 1@ acc 0.0 
06DD: set_train 1@ speed 0.0 
wait 8000
06DC: set_train 1@ acc 10.0 
06DD: set_train 1@ speed 16.0 
wait 3000 
06DC: set_train 1@ acc 20.0 
06DD: set_train 1@ speed 30.0  
jump @prov_1

:destr
wait 0
0164: disable_marker 2@
07BD: destroy_train 1@
07BE: remove_references_to_train 1@
jump @NONAME_2